package face.pay.api.version;

import face.pay.util.ResultMessage;
import face.pay.api.version.server.IAppVersionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Auther: zkj
 * @Date: 2019/8/20 15:25
 * @Description: 设备app版本控制
 */
@RestController
@RequestMapping("/app_version")
public class AppVersionController {

    @Autowired
    IAppVersionService iAppVersionService;


    @RequestMapping("/check")
    public ResultMessage checkVersion(){

        return this.iAppVersionService.getAppVersion();
    }
}
